package com.zwh.controller;


import com.zwh.entity.THerpAccountingPeriodDO;
import com.zwh.service.THerpAccountingPeriodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 预算会计期间 前端控制器
 * </p>
 *
 * @author 夕颜
 * @since 2023-06-20
 */
@RestController
@RequestMapping("/tHerpAccountingPeriodDO")
public class THerpAccountingPeriodController {
    @Autowired
    private THerpAccountingPeriodService herpAccountingPeriodService;

    @GetMapping("test")
    public List<THerpAccountingPeriodDO> Test(){
        List<THerpAccountingPeriodDO> list = herpAccountingPeriodService.lambdaQuery().list();
        return list;
    }

}

